package com.bgs.service;

import com.bgs.common.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface AliOssService {
    /**
     * 创建存储空间
     */
    void createBucket();

    String upload(MultipartFile file);

    void download(String fileName) throws IOException;

    void listFile();

    void deleteFile(String fileName);


}
